package com.yanqu.road.entity.log.cross.apprentice;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_c_log_apprentice_exam", autoSave = true, dataUpload = true, eventName = "attos_quizend", uploadCk = true, desc = "爱徒养成-小考日志", isCross = true)
public class LogCrossApprenticeExam extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", dataAttribute = "activityid", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "小考次数", dataAttribute = "attos_quiznum")
    private int examIndex;

    @FieldTypeAnnotation(desc = "小考模版id（也就是等级）", dataAttribute = "attos_quizid")
    private int level;

    @FieldTypeAnnotation(desc = "高于小考标准数", dataAttribute = "attos_normnum")
    private int completeNum;

    @FieldTypeAnnotation(desc = "天资奖励", dataAttribute = "attos_talentget")
    private String talentReward;

    public LogCrossApprenticeExam(int activityId, long userId, int examIndex, int level, int completeNum, String talentReward) {
        this.activityId = activityId;
        this.userId = userId;
        this.examIndex = examIndex;
        this.level = level;
        this.completeNum = completeNum;
        this.talentReward = talentReward;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getExamIndex() {
        return examIndex;
    }

    public void setExamIndex(int examIndex) {
        this.examIndex = examIndex;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getCompleteNum() {
        return completeNum;
    }

    public void setCompleteNum(int completeNum) {
        this.completeNum = completeNum;
    }

    public String getTalentReward() {
        return talentReward;
    }

    public void setTalentReward(String talentReward) {
        this.talentReward = talentReward;
    }
}
